SetTimeBaseZero
You can use theSetTimeBaseZero
function to change the offset from a time base to either its master time base or its clock component. You establish the initial offset when you assign the time base to its time source.
pascal void SetTimeBaseZero (TimeBase tb, TimeRecord *zero);
tb
- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBase
function (described on page 2-297).zero
- Contains a pointer to the time that corresponds to a 0 time value for the slave time scale. This parameter allows you to set an offset between the time base and its time source. Set this parameter to
nil
if there is no offset.ERROR CODES
NoneSEE ALSO
You can use theSetTimeBaseMasterClock
function (described on page 2-299) to assign a time base to a clock component.You can use the
SetTimeBaseMasterTimeBase
function (described on page 2-301) to assign a time base to a master time base.